<?php
$this->breadcrumbs=array(
	'图书',
);?>
<div class='span-16'>
	<ul class='book_index_list'>
		<?php foreach($booklist as $key=>$book):
		$imageurl = bu().'/attachment/bookcover/small/'.substr($book->small_pic,strrpos($book->small_pic,'/'));
		?>
		<li>
		<table>
			<tr>
				<td class='book_image'>
					<?=l(CHtml::image($imageurl),$book->url)?>
				</td><td class='book_content'>
					<table width='auto' height='180'>
						<tr>
							<td><?=l($book->name,$book->url,array('class'=>'bluename'))?></td>
						</tr>
						<tr>
							<td><span class='gray'><?=$book->author?></span></td>
						</tr>
						<tr>
							<td>市场价：<?=$book->market_price?></td>
						</tr>
						<tr>
							<td>想读:<?=$book->desireCount[1]?>&nbsp;在读:<?=$book->desireCount[2]?>&nbsp;读过:<?=$book->desireCount[3]?></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		</li>
		<?php if(($key+1)%2==0) echo '<hr/>';?>
		<?php endforeach;?>
	</ul>
	<div class='clr'></div>
	<p class="paging"><?php $this->widget('CLinkPager', array('pages' => $pages)); ?></p> 
</div>
<div class='span-7'>
<?php
$this->widget('application.components.CollectionList',array('num'=>5));
$this->widget('application.components.CommentList',array('num'=>10));
?>
</div>
<div class='span-1 last'>&nbsp;</div>
<?php ?>
